package com.brillilab.service.core.experiments;


import com.brillilab.domain.po.experiments.ExperimentPhase;
import com.brillilab.domain.vo.experiments.ExperimentPhaseProcessVo;
import com.brillilab.domain.vo.experiments.ExperimentPhaseVo;

import java.util.List;

/**
 * 实验阶段
 */
public interface IExperimentPhaseService {

    //**** WuMenghao start ****//
    ExperimentPhase selectById(Long experimentPhaseId);

    ExperimentPhase selectExperimentFirstPhase(Long experimentId);

    int selectCount(Long experimentId);

    boolean deleteByExperimentId(Long experimentId);

    int insertBatch(List<ExperimentPhase> newPhase);
    //****      end        ****//

    List<ExperimentPhaseVo> selectExperimentPhaseVo(Long experimentId);

    List<ExperimentPhaseVo> selectExperimentStepVoList(Long experimentId);

  //**** LJ start ****//
	ExperimentPhase insert(ExperimentPhase experimentPhase);
	//****      LJ end        ****//

	boolean updateById(ExperimentPhase phase);

	 List<ExperimentPhase>  selectList(Long experimentId);


    List<ExperimentPhaseProcessVo> getExperimentPhaseVoOfProcess(Long experimentId);
}
